<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>欢迎光临当当网</title>
<link rel="stylesheet" href="<%= basePath %>css/login.css" />
<body>

	<div class="login-container">
		<h1>欢迎光临当当网</h1>

		<div class="connect">
			<p>dangdang</p>
		</div>

		<form action="<%=basePath%>user/login" method="post" id="loginForm">
			<div>
				<input type="text" name="username" class="username"
					placeholder="用户名" autocomplete="off" />
			</div>
			<div>
				<input type="password" name="userpwd" class="password"
					placeholder="请输入密码" oncontextmenu="return false"
					onpaste="return false" />
			</div>
			<button id="submit" type="submit">登 陆</button>
		</form>

		<a href="<%= basePath %>regist.jsp">
			<button type="button" class="register-tis">还有没有账号？</button>
		</a>

	</div>

	<script src="<%=basePath%>js/jquery.min.js"></script>
	<script src="<%=basePath%>js/common.js"></script>
	<!--背景图片自动更换-->
	<script src="<%=basePath%>js/supersized.3.2.7.min.js"></script>
	<script src="<%=basePath%>js/supersized-init.js"></script>
	<!--表单验证-->
	<script src="<%=basePath%>js/jquery.validate.min.js?var1.14.0"></script>

</body>
</html>